--
-- created with TexturePacker (http://www.texturepacker.com)
--
-- $TexturePacker:SmartUpdate:1c01ba83589f7b35e1d9d24a768a3743$
--
-- local sheetInfo = require("myExportedImageSheet") -- lua file that Texture packer published
--
-- local myImageSheet = graphics.newImageSheet( "ImageSheet.png", sheetInfo:getSheet() ) -- ImageSheet.png is the image Texture packer published
--
-- local myImage1 = display.newImage( myImageSheet , sheetInfo:getFrameIndex("image_name1"))
-- local myImage2 = display.newImage( myImageSheet , sheetInfo:getFrameIndex("image_name2"))
--

local SheetInfo = {}

SheetInfo.sheet =
{
    frames = {
    
        {
            -- charactermask-1
            x=98,
            y=176,
            width=94,
            height=170,

            sourceX = 0,
            sourceY = 0,
            sourceWidth = 93,
            sourceHeight = 170
        },
        {
            -- charactermask-2
            x=268,
            y=2,
            width=100,
            height=168,

        },
        {
            -- charactermask-3
            x=2,
            y=2,
            width=86,
            height=174,

        },
        {
            -- charactermask-4
            x=2,
            y=178,
            width=94,
            height=172,

            sourceX = 0,
            sourceY = 0,
            sourceWidth = 94,
            sourceHeight = 171
        },
        {
            -- charactermask-5
            x=162,
            y=2,
            width=104,
            height=168,

            sourceX = 0,
            sourceY = 0,
            sourceWidth = 104,
            sourceHeight = 167
        },
        {
            -- charactermask-6
            x=370,
            y=2,
            width=96,
            height=166,

            sourceX = 0,
            sourceY = 0,
            sourceWidth = 96,
            sourceHeight = 165
        },
        {
            -- charactermask-7
            x=370,
            y=170,
            width=88,
            height=168,

        },
        {
            -- charactermask-8
            x=90,
            y=2,
            width=70,
            height=172,

            sourceX = 0,
            sourceY = 0,
            sourceWidth = 69,
            sourceHeight = 172
        },
    },
    
    sheetContentWidth = 512,
    sheetContentHeight = 512
}

SheetInfo.frameIndex =
{

    ["charactermask-1"] = 1,
    ["charactermask-2"] = 2,
    ["charactermask-3"] = 3,
    ["charactermask-4"] = 4,
    ["charactermask-5"] = 5,
    ["charactermask-6"] = 6,
    ["charactermask-7"] = 7,
    ["charactermask-8"] = 8,
}

function SheetInfo:getSheet()
    return self.sheet;
end

function SheetInfo:getFrameIndex(name)
    return self.frameIndex[name];
end

return SheetInfo
